package com.eascs.ticket.configuration.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import com.eascs.ticket.common.entity.InsertEntity;

/**
 * The persistent class for the dictionary_seq database table.
 * 
 */
@Entity
@Table(name = "dictionary_seq")
@NamedQuery(name = "DictionarySeq.findAll", query = "SELECT d FROM DictionarySeq d")
public class DictionarySeq extends InsertEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String code;

	private Integer current;

	@Column(name = "init_length")
	private Integer initLength;

	private String prefix;

	@Column(name = "start_with")
	private Integer startWith;

	public DictionarySeq() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getCurrent() {
		return this.current;
	}

	public void setCurrent(int current) {
		this.current = current;
	}

	public int getInitLength() {
		return this.initLength;
	}

	public void setInitLength(int initLength) {
		this.initLength = initLength;
	}

	public String getPrefix() {
		return this.prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public int getStartWith() {
		return this.startWith;
	}

	public void setStartWith(int startWith) {
		this.startWith = startWith;
	}

}